From: Eric S. Raymond Date: Mon, 26 Apr 1993 05:15:13 +0000 (+0000) Subject: (read_pending_input): Fix the garbaged-modifiers bug under System Vs previous X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96471 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=57ef1664fefd5e4ffbc161205a0b97147eb159f0;p=emacs.git (read_pending_input): Fix the garbaged-modifiers bug under System Vs previous to r4. --- diff --git a/src/sysdep.c b/src/sysdep.c index 45226ed6159..7781e6264b5 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -1786,6 +1786,7 @@ read_input_waiting () /* Scan the chars for C-g and store them in kbd_buffer. */ e.kind = ascii_keystroke; e.frame_or_window = selected_frame; + e.modifiers = 0; for (i = 0; i < nread; i++) { XSET (e.code, Lisp_Int, buf[i]);